package org.dromara.student.domain.vo;

import org.dromara.student.domain.XjStudentTaskAnswer;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 学生答案视图对象 xj_student_task_answer
 *
 * @author Lion Li
 * @date 2024-12-17
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = XjStudentTaskAnswer.class)
public class XjStudentTaskAnswerVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 答案id
     */
    @ExcelProperty(value = "答案id")
    private String answerId;

    /**
     * 题目内容
     */
    @ExcelProperty(value = "题目内容")
    private String questionTxt;

    /**
     * 题目类型
     */
    @ExcelProperty(value = "题目类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "xj_question_type")
    private String questionType;

    /**
     * 题目序号
     */
    @ExcelProperty(value = "题目序号")
    private Long questionOrder;

    /**
     * 关联题目id
     */
    @ExcelProperty(value = "关联题目id")
    private String questionId;

    /**
     * 关联作业id
     */
    @ExcelProperty(value = "关联作业id")
    private String taskId;

    /**
     * 答案内容
     */
    @ExcelProperty(value = "答案内容")
    private String answerTxt;

    /**
     * AI返回的答案建议
     */
    @ExcelProperty(value = "AI返回的答案建议")
    private String answerSuggestion;

    /**
     * 对应每题答案的得分
     */
    @ExcelProperty(value = "对应每题答案的得分")
    private Long answerScore;

    /**
     * 大模型返回JSON
     */
    @ExcelProperty(value = "大模型返回JSON")
    private String glipJson;


}
